package com.etone.smartAudit.vo.jiutian;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 张任豪
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(value = "百度表格识别")
public class OcrWordVO {

    @ApiModelProperty("表格坐标")
    private List<VertexesLocation> vertexesLocation;

    @ApiModelProperty("识别可信度坐标")
    private Double probability;

    @ApiModelProperty("列坐标")
    private Integer column;

    @ApiModelProperty("识别数据")
    private String words;

    @ApiModelProperty("行坐标")
    private Integer row;

}

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
class VertexesLocation{
    String x;
    String y;
}
